#ifndef LISTENER_H
#define LISTENER_H

//QT
#include <QObject>
#include <QTcpServer>

//Libraries
#include "loggedusers.h"

class Listener : public QTcpServer
{
public:
    Listener(QObject *parent = 0);

protected:
    void incomingConnection(int socketDescriptor);

private:
    LoggedUsers * loggedUsers;
};

#endif // LISTENER_H
